return {
    on_setup = function(server, default_opts)
        -- local capabilities = vim.lsp.protocol.make_client_capabilities()
        -- capabilities.textDocument.completion.completionItem.snippetSupport = true
        local opts = {
            -- capabilities = capabilities,
            settings = {
                css = {
                    validate = true,
                },
                less = {
                    validate = true,
                },
                scss = {
                    validate = true,
                },
            },
        }
        opts = vim.tbl_extend("keep", opts, default_opts)
        server.setup(opts)
    end,
}
